package com.taotao.manage.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
@RequestMapping("page")
public class BaseController {

	//通用页面跳转
	@RequestMapping(value="{pageName}",method=RequestMethod.GET)//路径占位符
	public String toPage(@PathVariable("pageName")String pageName){
		
		return pageName;
	}
	
}
